翻訳と辞書
Words near each other
・ Test CD
・ Test Channel 6
・ Test Claimants in the Franked Investment Income Group Litigation v IRC
・ Test compression
・ Test construction strategies
・ Test cricket
・ Test cross
・ Test d'évaluation du français
・ Test data
・ Test data exclusivity
・ Test data generation
・ Test de connaissance du français
・ Test de français international
・ Test Dept
・ Test design
Test double
・ Test Drive
・ Test drive
・ Test Drive (EP)
・ Test Drive (series)
・ Test Drive (video game)
・ Test Drive 2001
・ Test Drive 4
・ Test Drive 5
・ Test Drive 6
・ Test Drive Cycles
・ Test Drive Le Mans
・ Test Drive Off-Road
・ Test Drive Off-Road 2
・ Test Drive Off-Road 3


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Test double : ウィキペディア英語版
Test double
In computer programming and computer science, especially in object-oriented programming, programmers and developers employ a technique called automated unit testing to enhance the quality of the software. Frequently, the final release software consists of a complex set of objects or procedures interacting together to create the final result. In automated unit testing, it may be necessary to use objects or procedures that look and behave like their release-intended counterparts, but are actually simplified versions that reduce the complexity and facilitate testing. A test double is a generic (meta) term used for these objects or procedures.
==Types of test doubles==
Gerard Meszaros identified several different terms for what he calls, "Test Doubles." Using his vocabulary, there are at least five types of Test Doubles:
* Test stub (used for providing the tested code with "indirect input")
* Mock object (used for verifying "indirect output" of the tested code, by first defining the expectations before the tested code is executed)
* Test spy (used for verifying "indirect output" of the tested code, by asserting the expectations afterwards, without having defined the expectations before the tested code is executed)
* Fake object (used as a simpler implementation, e.g. using an in-memory database in the tests instead of doing real database access)
* Dummy object (used when a parameter is needed for the tested method but without actually needing to use the parameter)
While there is no open standard for test double and the various types, there is momentum for continued use of these terms in this manner. Martin Fowler used these terms in his article, ''Mocks Aren't Stubs'' referring to Meszaros' book. Microsoft also used the same terms and definitions in an article titled, ''Exploring The Continuum Of Test Doubles''.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Test double」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.